package com.inspection.service;

import com.inspection.entity.SysUserDO;
import com.inspection.model.dto.SysUserDTO;
import com.inspection.model.dto.SysUserQueryDTO;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletResponse;

public interface SysUserService {

    void saveUser(SysUserDTO user);

    void updateUser(SysUserDTO user);

    SysUserDO getUser(SysUserQueryDTO query);

    Page<SysUserDO> pageUser(SysUserQueryDTO page);

    void delUser(SysUserDTO dto);

    void batchDelUser(SysUserDTO dto);

    void exportSysUser(SysUserQueryDTO dto, HttpServletResponse response);
}
